package me.luger.project.fof.entity;


import me.luger.core.dao.nutz.entity.BaseEntity;
import org.nutz.dao.entity.annotation.*;
import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.Date;

@Table("benchmark_price")
public class BenchmarkPrice extends BaseEntity implements Serializable{
private static final long serialVersionUID=1L;


    /**
     * 
     */
    @Name
    @Column("index_code")
    @Comment("")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String indexCode;
    /**
     * 
     */
    @Column("eod_price")
    @Comment("")
    @ColDefine(customType = "DECIMAL", width = 20)
    private Double eodPrice;
    /**
     * 
     */
    @Column("date")
    @Comment("")
    @ColDefine(type = ColType.DATE, width = 10)
    @JSONField (format="yyyy-MM-dd HH:mm:ss")
    private Date date;

    public void setIndexCode(String indexCode){
        this.indexCode=indexCode;
    }
    public String getIndexCode(){
        return this.indexCode;
    }

    public void setEodPrice(Double eodPrice){
        this.eodPrice=eodPrice;
    }
    public Double getEodPrice(){
        return this.eodPrice;
    }

    public void setDate(Date date){
        this.date=date;
    }
    public Date getDate(){
        return this.date;
    }


}